实训一:交换机带外管理(就是用CRT连接交换机) | 您所在的位置:网站首页 › 华为交换机crt 登录 › 实训一:交换机带外管理(就是用CRT连接交换机) |
一、实验目的
1、熟悉普通交换机的外观。
2、了解普通交换机各端口的名称和作用。
3、了解交换机最基本的管理方式————带外管理的方法。
二、应用环境
网络设备的管理方式可以简单地分为带外管理(out-of-band)和带内管理(in-band)两种管理模式。所谓带内管理,是指网络的管理控制信息与用户网络的承载业务信息通过同一个逻辑信道传送,简而言之,就是占用业务带宽;而在带外管理模式中,网络的管理控制信息与用户网络的承载业务信息在不同的逻辑信道传送,也就是设备提供专门用于管理的带宽。 目前很多高端的交换机都带有带外网管接口,使网络管理的带宽和有业务带宽完全隔离,互不影响,构成简单的网管网。 通过Console口管理是最常用的带外管理方式,通常用户会在首次配置交换机或者无法进行带内管理时使用带外管理方式。 带外管理方式也是使用最频繁最高的管理方式。带外管理的时候,我们可以采用SecureCRT 终端软件来连接交换机。当然,用户也可以采用自己熟悉的终端程序。 Console口:也叫配置口,用于接入交换机内部对交换机配置。 Console线:交换机包装箱中标配的线缆,用于连接Console口和配置终端。 三、实验设备 1、神州数码DCN-CS6200交换机 1 台 2、PC 1 台 3、交换机Console线 1 根 四、实验拓扑![]() 将PC机的串口和交换机的Console口用Console线连接如图 五、实验要求 1、正确认识交换机上各端口名称。 2、熟悉掌握使用交换机Console线连接交换机的Console口和PC的串口。 3、熟悉掌握使用超级终端进入交换机的配置页面。 六、实验步骤 第一步:认识交换机的端口。拔插Console线时注意保护交换机的Console口和PC的串口,不要带电拔插。 第三步:使用软件SecureCRT登陆到设备,并查看当前信息。(当然XP系统也可以使用自带的超级终端进行配置,配置比较简单,这里就不详细介绍了。) 1、安装SecureCRT软件,并进行相应的设置,其中设置图片如下: 注意:端口是自己电脑所显示的端口号(可以去设备管理器查看),波特率一般分为两种(路由器、防火墙、二层交换机为9600、三层交换机为115200、其他品牌的也可能不一样我这里是神州数码的设备),数据为 8 ,奇偶效验“无”,停止位 1 ,数据流控制“无”。 2、进入交换机:配置信息: CS6200-28X-EI>enable CS6200-28X-EI#config CS6200-28X-EI(config)#show running-config !! switch convert mode stand-alone !! ! no service password-encryption ! hostname CS6200-28X-EI sysLocation China sysContact 400-810-9119 ! authentication logging enable ! username admin privilege 15 password 0 admin ! ! ! ! info-center logfile 4 config count 40960 nandflash logfile.log info-center logfile 4 output-enable info-center logfile 4 match level warnings ! ! ! ! ! Interface Ethernet0 ! ! ! vlan 1 ! Interface Ethernet1/0/1 ! Interface Ethernet1/0/2 ! Interface Ethernet1/0/3 ! Interface Ethernet1/0/4 ! Interface Ethernet1/0/5 ! Interface Ethernet1/0/6 ! Interface Ethernet1/0/7 ! Interface Ethernet1/0/8 ! Interface Ethernet1/0/9 ! Interface Ethernet1/0/10 ! Interface Ethernet1/0/11 ! Interface Ethernet1/0/12 ! Interface Ethernet1/0/13 ! Interface Ethernet1/0/14 ! Interface Ethernet1/0/15 ! Interface Ethernet1/0/16 ! Interface Ethernet1/0/17 ! Interface Ethernet1/0/18 ! Interface Ethernet1/0/19 ! Interface Ethernet1/0/20 ! Interface Ethernet1/0/21 ! Interface Ethernet1/0/22 ! Interface Ethernet1/0/23 ! Interface Ethernet1/0/24 ! Interface Ethernet1/0/25 ! Interface Ethernet1/0/26 ! Interface Ethernet1/0/27 ! Interface Ethernet1/0/28 ! ! no login ! captive-portal ! end 六、课后补充 1、如果你的电脑上没有能连接console线的串口,那么你可以去买一根USB转串口的线缆,在自己的电脑上安装该线缆的驱动程序,这样就可以用电脑的USB口对交换机进行带外管理啦。 2、熟悉 show 命令 show version 显示交换机版本信息 show flash 显示保存在 flash 中的文件及大小 show arp 显示 ARP 映射表 show history 显示用户最近输入的历史命令 show rom 显示启动文件及大小 show running-config 显示当前运行状态下生效的交换机参数配置 show startup-config 显示当前运行状态下写在 Flash Memory 中的交换机参数配置,通常也是交换机下次上电启动时所用的配置文件。 show switchport interface 显示交换机端口的 VLAN 端口模式和所属 VLAN 号及交换机端口。 show interface ethernet 1/1 显示指定交换机 1/1 端口的信息 七、相关命令配置详解 命令:show running-config 功能:显示当前运行状态下生效的交换机参数配置。 缺省情况:对于正在生效的配置参数,如果与缺省工作参数相同,则不显示。 命令模式:特权用户配置模式 使用指南:当用户完成一组配置后,需要验证是否配置正确,则可以执行 show running-config 命令来查看当前生效的参数。 举例:CS6200-28X-EI(config)#show running-config 命令:show version 功能:显示交换机版本信息。 命令模式:特权用户配置模式 使用指南:通过查看版本信息可以获知硬件和软件所支持的功能特性。 举例:CS6200-28X-EI(config)#show version
|
CopyRight 2018-2019 实验室设备网 版权所有 |